﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Common/MasterPages/Dialog.Master" CodeBehind="ExtendUserView.aspx.cs" Inherits="DMS.Web.Modules.BaseSettings.ExtendUserView" %>

<asp:Content ContentPlaceHolderID="PageTitleInHeader" runat="server"><%=ViewState["title"] %></asp:Content>
<asp:Content ContentPlaceHolderID="MainHolder" runat="server">
    <script type="text/javascript">
        <!--
            function onSave(id, name){
                var r = new Object();
                r.id = id;
                r.name = name;
                window.returnValue = r;
                alert('保存成功');
                window.close();
            }
        //-->
    </script>

    <fieldset>
    <legend>
        用户信息
    </legend>
    <div id="mainareacontent">
        <div class="mainarea">
            <asp:HiddenField ID="ParentClassID" runat="server" />
            <asp:HiddenField ID="ClassID" runat="server" />
            <!----------- 表单信息 ------------------>
            <table width="100%" cellpadding="0" cellspacing="1" class="formitem">             
              <tr>
                <th width="10%">姓名：</th>
                <td width="40%">
                    <asp:TextBox ID="tb_UserName" runat="server" EnableControl="(*.*)" Width="120px"></asp:TextBox>
                    <font color="red">
                        *
                    </font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tb_UserName"
        ErrorMessage="必须填写姓名<br/>" Display="Dynamic"></asp:RequiredFieldValidator>
                  </td>
                <th width="10%"> 移动电话：</th>
                <td width="40%">
                    <asp:TextBox ID="tb_Mobile" runat="server"  EnableControl="(*.*)" Width="120px"></asp:TextBox>
                    <font color="red">
                        *
                    </font>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tb_Mobile"
        ErrorMessage="必须填写移动电话" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
              </tr>
              <tr>
                <th>性别：</th>
                <td>
                    <asp:DropDownList ID="ddl_sex" runat="server" Width="125px">
                        <asp:ListItem Value="1">男</asp:ListItem>
                        <asp:ListItem Value="2">女</asp:ListItem>
                    </asp:DropDownList>
                  </td>
                <th> 
                    所属部门：
                </th>
                <td>
                    <asp:TextBox ID="tb_DeptName" runat="server" ReadOnly="true" EnableControl="(*.*)" Width="120px" MaxLength="15"></asp:TextBox>                   
                    <asp:HiddenField ID="hd_deptID" runat="server" />
                </td>
                    
              </tr>
              <tr>
                 <th width="10%"> 职位：</th>
                <td width="40%">
                    <asp:TextBox ID="tb_positionDesc" runat="server"  EnableControl="(*.*)" Width="120px"></asp:TextBox>
                </td>
              </tr>
            </table>
        </div>
    </div>
    </fieldset>
</asp:Content>

<asp:Content ID="ctFooter"  ContentPlaceHolderID="FooterHolder" runat="server">
<asp:LinkButton ID="btnSave" CssClass="linkbtn" runat="server" OnClick="SaveExtendUser"
        CausesValidation="true"><span>保存</span></asp:LinkButton>&nbsp;&nbsp;
<a href="javascript:window.close();" class="linkbtn"><span>关闭</span></a>
</asp:Content>
